home *** CD-ROM | disk | FTP | other *** search
- Path: news.tu-chemnitz.de!news
- From: hfst@hrz.tu-chemnitz.de (Hans Steffani)
- Newsgroups: comp.lang.c
- Subject: Re: Help - pointer notation please...
- Date: 23 Feb 96 14:16:12 GMT
- Organization: University of Technology Chemnitz, FRG
- Message-ID: <4gkibc$pe6@pyrrhus-f.hrz.tu-chemnitz.de>
- References: <4gjelv$2ek@news.mistral.co.uk>
- NNTP-Posting-Host: sisyphus.hrz.tu-chemnitz.de
-
- mikebarnard@mistral.co.uk (Mike Barnard) writes:
-
-
- >Sometimes when prototyping a function the function name is pre-fixed
- >by an asterisk. Why? What does it mean?
-
- Do you mean somethink like
- char *strcpy( );
- ?
-
- Read it as
- char* strcpy();
- which means that it returns a value which type ich char* which
- means that it returns a pointer to char.
-
- h.f.s.
-
- --
- Hans Friedrich Steffani
- Institut fuer Elektrische Maschinen und Antriebe
- TU Chemnitz-Zwickau
- e-mail: hans.steffani@e-technik.tu-chemnitz.de
-